﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;

namespace TienTeTuong
{
    public class OrderDTO
    {
        public string ID { get; set; }
        public string UserID { get; set; }
        public string CreatedDate { get; set; }
        public string UpdatedDate { get; set; }
        public string ReceiverName { get; set; }
        public string Email { get; set; }
        public string Address { get; set; }
        public string Phone { get; set; }
        public string Note { get; set; }
        public string AdminNote { get; set; }
        public string Status { get; set; }
        public List<ProductInOrder> Items { get; set; }
        public double Total { get; set; }

        public OrderDTO()
        {
            Guid id = Guid.NewGuid();
            ID = id.ToString();
            UserID = string.Empty;
            ReceiverName = string.Empty;
            Email = string.Empty;
            Address = string.Empty;
            Phone = string.Empty;
            Note = string.Empty;
            AdminNote = string.Empty;
            Status = string.Empty;
            Items = new List<ProductInOrder>();
            Total = 0;
        }
    }
}